package com.nuanshui.heatedloan.userinfo.dal.mapper;

import org.apache.ibatis.annotations.Param;

public interface UserInviteFriendMapper {

	/**
	 * 获取某个用户未兑换的好友个数
	 * @return
	 */
    Long loadNotExchangeFriendCount(@Param("userId") String userId);
	
	
	
	void saveInviteFriend(@Param("sourceUserId") String sourceUserId, @Param("targetUserId") String targetUserId);
	

	  /**
	   * 用户兑换优惠券
	   * @param userId
	   */
      void exchangeCouponByUserId(@Param("userId") String userId);
	
}
